package main

import "fmt"

type Car interface {
	NameGet() string
	Run(n int)
	Stop()
}

type BMW struct {
	Name string
}
func (this *BMW) NameGet() string {
	return this.Name
}

func main()  {


	var car Car
	fmt.Print(car)

	var bmw BMW = BMW{Name:"宝马"}

	fmt.Print(bmw.NameGet())
}